package com.ffggffgfv.backend.dto;

/**
 * 购物车项数据传输对象
 */
public class CartItemDTO {

    private Long productId;     // 商品ID
    private Integer quantity;    // 数量
    private Boolean selected;    // 是否选中

    public Long getProductId() {
        return productId;
    }

    public void setProductId(Long productId) {
        this.productId = productId;
    }

    public Integer getQuantity() {
        return quantity;
    }

    public void setQuantity(Integer quantity) {
        this.quantity = quantity;
    }

    public Boolean getSelected() {
        return selected;
    }

    public void setSelected(Boolean selected) {
        this.selected = selected;
    }
}
